feat: remove multiple plugins at once#2163
Conversation
|
Is this ok or is there a reason why removing multiple plugins at once would go wrong? |
|
Hi @joaovictorsl, sorry for the late reply here! I've had this PR sitting in a browser tab for months, and I finally got around to looking at this feature this week. I understand the convenience of uninstalling multiple plugins at once. But, I think adding this feature would cause some problems. This change makes the I'm opening to consider changes to multiple commands that keeps them consistent with each and allows for operation on multiple plugins or versions. But I think this is something that requires more thought and planning to make a good user experience. If you want to give this more thought please open a feature request listing all commands, documenting the ones you think would make sense to accept multiple plugins/versions as arguments. |
Why?
I wanted to remove multiple plugins on a single command
How?
Make pluginRemoveCommand take a slice instead of only the first plugin name, then we loop through them and remove one by one. If any error happens when removing a plugin we return before finishing the loop.